package cn.softgame.cms.secure.dictionary.service;

import java.util.List;

import cn.softgame.cms.secure.dictionary.domain.Dictionary;
import cn.softgame.cms.secure.dictionary.domain.DictionaryItem;

/**
 * 
 * @author zhaoruiqing
 * 2013-5-03
 */
public interface DictionaryService {
	List<DictionaryItem> qryDictionaryItemByDictId(String dictId);
	
	List<DictionaryItem> qryDictionaryItemByDictCode(String dictCode);
	
	Integer dictionaryCount(Dictionary dict);
	
	List<Dictionary> selectPageDictionaries(Dictionary dict);

	void saveDict(Dictionary dict);

	void updateDict(Dictionary dict);

	void deleteDict(String dictId);

	Dictionary selectDictById(String dictId);
}
